package com.building18.service;

import com.building18.pojo.House;
import com.building18.pojo.dto.HouseDTO;
import com.building18.pojo.vo.HouseVO;
import com.building18.pojo.vo.StateVO;

import java.util.List;

public interface HouseService {
    List<House> selectHouse(HouseDTO houseDTO);

    List<HouseVO> getHouseNoAndId();

    List<StateVO> getHouseStateNameAndId();

    Integer addHouse(House house);

    Integer deleteHouse(Integer id);

    Integer updateHouse(House house);
}
